package cn.tedu.client.service;

import cn.tedu.base.response.JsonResult;
import cn.tedu.client.pojo.dto.ClientRegisterDTO;
import cn.tedu.client.pojo.dto.ClientUpdateDTO;
import cn.tedu.client.pojo.vo.ReceiverVO;
import org.springframework.web.server.ServerWebExchange;

import javax.servlet.http.HttpServletRequest;

public interface ClientService {
    String register(ClientRegisterDTO clientRegisterDTO);

//    JsonResult loadInfo(HttpServletRequest request);
    JsonResult loadInfo(Long userId);

    JsonResult update(ClientUpdateDTO clientUpdateDTO);

    ReceiverVO getReceiver(Integer userId);
}
